{smcl}
{com}{sf}{ul off}{txt}{.-}
      name:  {res}<unnamed>
       {txt}log:  {res}/Users/steven.vanhauwaert/Downloads/log2.smcl
  {txt}log type:  {res}smcl
 {txt}opened on:  {res}13 May 2025, 10:53:30

{com}. do "/var/folders/dm/f7vdd6bn2fb3xzm77_3w_31w0000gq/T//SD47851.000000"
{txt}
{com}. drop if pref_raw == .
{txt}(68 observations deleted)

{com}. xtset domainid time_raw
{res}
{col 1}{txt:Panel variable: }{res:domainid}{txt: (strongly balanced)}
{p 1 16 2}{txt:Time variable: }{res:time_raw}{txt:, }{res:{bind:1}}{txt: to }{res:{bind:32}}{p_end}
{txt}{col 10}Delta: {res}1 unit
{txt}
{com}. 
. 
. ****************************************************
. 
. // SUPPLEMENTARY MATERIALS //
. 
. ****************************************************
. 
. 
. ****************************************************
. // A. TIME-SERIES DIAGNOSTICS //
. ****************************************************
. 
. // For Table A1.b//
. 
. xtreg d.pref_raw l.pref_raw, fe
{res}
{txt}Fixed-effects (within) regression{col 49}Number of obs{col 67}={col 69}{res}       124
{txt}Group variable: {res}domainid{txt}{col 49}Number of groups{col 67}={col 69}{res}         4

{txt}R-squared:{col 49}Obs per group:
     Within  = {res}0.1367{col 63}{txt}min{col 67}={col 69}{res}        31
{txt}     Between = {res}0.5119{col 63}{txt}avg{col 67}={col 69}{res}      31.0
{txt}     Overall = {res}0.0184{col 63}{txt}max{col 67}={col 69}{res}        31

{txt}{col 49}F({res}1{txt}, {res}119{txt}){col 67}={col 70}{res}    18.85
{txt}corr(u_i, Xb) = {res}-0.9646{txt}{col 49}Prob > F{col 67}={col 73}{res}0.0000

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}  D.pref_raw{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      t{col 46}   P>|t|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 4}pref_raw {c |}
{space 9}L1. {c |}{col 14}{res}{space 2}-.2818044{col 26}{space 2} .0649105{col 37}{space 1}   -4.34{col 46}{space 3}0.000{col 54}{space 4}-.4103336{col 67}{space 3}-.1532752
{txt}{space 12} {c |}
{space 7}_cons {c |}{col 14}{res}{space 2} 10.84991{col 26}{space 2} 2.476557{col 37}{space 1}    4.38{col 46}{space 3}0.000{col 54}{space 4} 5.946077{col 67}{space 3} 15.75374
{txt}{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
     sigma_u {c |} {res}  11.43047
     {txt}sigma_e {c |} {res} 7.1064463
         {txt}rho {c |} {res} .72122789{txt}   (fraction of variance due to u_i)
{hline 13}{c BT}{hline 64}
F test that all u_i=0: F({res}3{txt}, {res}119{txt}) = {res}5.58{col 62}{txt}Prob > F = {res}0.0013
{txt}
{com}. xtreg d.pref_raw l.pref_raw l.d.pref_raw time_raw, fe
{res}
{txt}Fixed-effects (within) regression{col 49}Number of obs{col 67}={col 69}{res}       120
{txt}Group variable: {res}domainid{txt}{col 49}Number of groups{col 67}={col 69}{res}         4

{txt}R-squared:{col 49}Obs per group:
     Within  = {res}0.1981{col 63}{txt}min{col 67}={col 69}{res}        30
{txt}     Between = {res}0.2132{col 63}{txt}avg{col 67}={col 69}{res}      30.0
{txt}     Overall = {res}0.0140{col 63}{txt}max{col 67}={col 69}{res}        30

{txt}{col 49}F({res}3{txt}, {res}113{txt}){col 67}={col 70}{res}     9.30
{txt}corr(u_i, Xb) = {res}-0.9749{txt}{col 49}Prob > F{col 67}={col 73}{res}0.0000

{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}  D.pref_raw{col 14}{c |} Coefficient{col 26}  Std. err.{col 38}      t{col 46}   P>|t|{col 54}     [95% con{col 67}f. interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 4}pref_raw {c |}
{space 9}L1. {c |}{col 14}{res}{space 2}-.4079061{col 26}{space 2} .0784719{col 37}{space 1}   -5.20{col 46}{space 3}0.000{col 54}{space 4} -.563373{col 67}{space 3}-.2524392
{txt}{space 9}LD. {c |}{col 14}{res}{space 2} .1302193{col 26}{space 2} .0929196{col 37}{space 1}    1.40{col 46}{space 3}0.164{col 54}{space 4}-.0538713{col 67}{space 3} .3143099
{txt}{space 12} {c |}
{space 4}time_raw {c |}{col 14}{res}{space 2} .2353797{col 26}{space 2} .0824932{col 37}{space 1}    2.85{col 46}{space 3}0.005{col 54}{space 4} .0719457{col 67}{space 3} .3988137
{txt}{space 7}_cons {c |}{col 14}{res}{space 2} 11.27862{col 26}{space 2} 2.648955{col 37}{space 1}    4.26{col 46}{space 3}0.000{col 54}{space 4} 6.030566{col 67}{space 3} 16.52668
{txt}{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
     sigma_u {c |} {res} 16.868788
     {txt}sigma_e {c |} {res} 6.9528065
         {txt}rho {c |} {res} .85478558{txt}   (fraction of variance due to u_i)
{hline 13}{c BT}{hline 64}
F test that all u_i=0: F({res}3{txt}, {res}113{txt}) = {res}8.48{col 62}{txt}Prob > F = {res}0.0000
{txt}
{com}. 
. 
. // For Table A4b//
. 
. //First panel//
. 
. kpss pref_raw if domainid==3 & year < 2020, auto
 
{txt}KPSS test for pref_raw
 
Automatic bandwidth selection (maxlag) = 4
Autocovariances weighted by Bartlett kernel
 
Critical values for H0: pref_raw is trend stationary
 
10%: 0.119  5% : 0.146  2.5%: 0.176  1% : 0.216
 
Lag order    Test statistic
{col 4} 4{col 13}    .168

{com}. kpss pref_raw if domainid==1 & year < 2020, auto
 
{txt}KPSS test for pref_raw
 
Automatic bandwidth selection (maxlag) = 4
Autocovariances weighted by Bartlett kernel
 
Critical values for H0: pref_raw is trend stationary
 
10%: 0.119  5% : 0.146  2.5%: 0.176  1% : 0.216
 
Lag order    Test statistic
{col 4} 4{col 13}   .0976

{com}. kpss pref_raw if domainid==4 & year < 2020, auto
 
{txt}KPSS test for pref_raw
 
Automatic bandwidth selection (maxlag) = 4
Autocovariances weighted by Bartlett kernel
 
Critical values for H0: pref_raw is trend stationary
 
10%: 0.119  5% : 0.146  2.5%: 0.176  1% : 0.216
 
Lag order    Test statistic
{col 4} 4{col 13}    .106

{com}. kpss pref_raw if domainid==5 & year < 2020, auto
 
{txt}KPSS test for pref_raw
 
Automatic bandwidth selection (maxlag) = 3
Autocovariances weighted by Bartlett kernel
 
Critical values for H0: pref_raw is trend stationary
 
10%: 0.119  5% : 0.146  2.5%: 0.176  1% : 0.216
 
Lag order    Test statistic
{col 4} 3{col 13}   .0526

{com}. 
. 
. //Second panel//
. 
. kpss pref_raw if domainid==3 & year < 2020, auto notrend
 
{txt}KPSS test for pref_raw
 
Automatic bandwidth selection (maxlag) = 4
Autocovariances weighted by Bartlett kernel
 
Critical values for H0: pref_raw is level stationary
 
10%: 0.347  5% : 0.463  2.5%: 0.574  1% : 0.739
 
Lag order    Test statistic
{col 4} 4{col 13}    .602

{com}. kpss pref_raw if domainid==1 & year < 2020, auto notrend
 
{txt}KPSS test for pref_raw
 
Automatic bandwidth selection (maxlag) = 4
Autocovariances weighted by Bartlett kernel
 
Critical values for H0: pref_raw is level stationary
 
10%: 0.347  5% : 0.463  2.5%: 0.574  1% : 0.739
 
Lag order    Test statistic
{col 4} 4{col 13}     .16

{com}. kpss pref_raw if domainid==4 & year < 2020, auto notrend
 
{txt}KPSS test for pref_raw
 
Automatic bandwidth selection (maxlag) = 4
Autocovariances weighted by Bartlett kernel
 
Critical values for H0: pref_raw is level stationary
 
10%: 0.347  5% : 0.463  2.5%: 0.574  1% : 0.739
 
Lag order    Test statistic
{col 4} 4{col 13}     .18

{com}. kpss pref_raw if domainid==5 & year < 2020, auto notrend
 
{txt}KPSS test for pref_raw
 
Automatic bandwidth selection (maxlag) = 4
Autocovariances weighted by Bartlett kernel
 
Critical values for H0: pref_raw is level stationary
 
10%: 0.347  5% : 0.463  2.5%: 0.574  1% : 0.739
 
Lag order    Test statistic
{col 4} 4{col 13}    .253

{com}. 
. 
. ****************************************************
. // B. PREFERENCE MODELS USING RAW DATA //
. ****************************************************
. 
. 
. // TABLE B.1
. 
. xtreg pref_raw l.pref_raw treal_APP_domain treal_APP_total gdp_trill president if year < 2020, fe
{res}
{txt}Fixed-effects (within) regression{col 49}Number of obs{col 67}={col 69}{res}       112
{txt}Group variable: {res}domainid{txt}{col 49}Number of groups{col 67}={col 69}{res}         4

{txt}R-squared:{col 49}Obs per group:
     Within  = {res}0.7079{col 63}{txt}min{col 67}={col 69}{res}        28
{txt}     Between = {res}0.9990{col 63}{txt}avg{col 67}={col 69}{res}      28.0
{txt}     Overall = {res}0.9006{col 63}{txt}max{col 67}={col 69}{res}        28

{txt}{col 49}F({res}5{txt}, {res}103{txt}){col 67}={col 70}{res}    49.93
{txt}corr(u_i, Xb) = {res}0.8715{txt}{col 49}Prob > F{col 67}={col 73}{res}0.0000

{txt}{hline 17}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}        pref_raw{col 18}{c |} Coefficient{col 30}  Std. err.{col 42}      t{col 50}   P>|t|{col 58}     [95% con{col 71}f. interval]
{hline 17}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 8}pref_raw {c |}
{space 13}L1. {c |}{col 18}{res}{space 2} .3976068{col 30}{space 2}  .064136{col 41}{space 1}    6.20{col 50}{space 3}0.000{col 58}{space 4} .2704081{col 71}{space 3} .5248054
{txt}{space 16} {c |}
treal_APP_domain {c |}{col 18}{res}{space 2}-9.038005{col 30}{space 2} 9.173092{col 41}{space 1}   -0.99{col 50}{space 3}0.327{col 58}{space 4}-27.23067{col 71}{space 3} 9.154659
{txt}{space 1}treal_APP_total {c |}{col 18}{res}{space 2}-44.16151{col 30}{space 2} 8.601669{col 41}{space 1}   -5.13{col 50}{space 3}0.000{col 58}{space 4} -61.2209{col 71}{space 3}-27.10213
{txt}{space 7}gdp_trill {c |}{col 18}{res}{space 2} 3.585551{col 30}{space 2} .5382264{col 41}{space 1}    6.66{col 50}{space 3}0.000{col 58}{space 4} 2.518106{col 71}{space 3} 4.652996
{txt}{space 7}president {c |}{col 18}{res}{space 2}-5.276012{col 30}{space 2} 1.225394{col 41}{space 1}   -4.31{col 50}{space 3}0.000{col 58}{space 4}-7.706292{col 71}{space 3}-2.845733
{txt}{space 11}_cons {c |}{col 18}{res}{space 2} 7.286569{col 30}{space 2} 2.710191{col 41}{space 1}    2.69{col 50}{space 3}0.008{col 58}{space 4} 1.911544{col 71}{space 3} 12.66159
{txt}{hline 17}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
         sigma_u {c |} {res} 25.152162
         {txt}sigma_e {c |} {res} 5.5319536
             {txt}rho {c |} {res} .95385864{txt}   (fraction of variance due to u_i)
{hline 17}{c BT}{hline 64}
F test that all u_i=0: F({res}3{txt}, {res}103{txt}) = {res}28.26{col 62}{txt}Prob > F = {res}0.0000
{txt}
{com}. 
. 
. // TABLE B.2
. 
. regress pref_raw l.pref_raw  treal_APP_total gdp_trill president if domainid == 1 & year < 2020

{txt}      Source {c |}       SS           df       MS      Number of obs   ={res}        28
{txt}{hline 13}{c +}{hline 34}   F(4, 23)        = {res}    20.88
{txt}       Model {c |} {res} 1668.75907         4  417.189769   {txt}Prob > F        ={res}    0.0000
{txt}    Residual {c |} {res} 459.627693        23  19.9838127   {txt}R-squared       ={res}    0.7840
{txt}{hline 13}{c +}{hline 34}   Adj R-squared   ={res}    0.7465
{txt}       Total {c |} {res} 2128.38677        27  78.8291395   {txt}Root MSE        =   {res} 4.4703

{txt}{hline 16}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}       pref_raw{col 17}{c |} Coefficient{col 29}  Std. err.{col 41}      t{col 49}   P>|t|{col 57}     [95% con{col 70}f. interval]
{hline 16}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}pref_raw {c |}
{space 12}L1. {c |}{col 17}{res}{space 2} .3925919{col 29}{space 2} .1114913{col 40}{space 1}    3.52{col 49}{space 3}0.002{col 57}{space 4} .1619547{col 70}{space 3} .6232291
{txt}{space 15} {c |}
treal_APP_total {c |}{col 17}{res}{space 2}-47.72936{col 29}{space 2} 13.93432{col 40}{space 1}   -3.43{col 49}{space 3}0.002{col 57}{space 4} -76.5547{col 70}{space 3}-18.90402
{txt}{space 6}gdp_trill {c |}{col 17}{res}{space 2} 3.355601{col 29}{space 2} .8809487{col 40}{space 1}    3.81{col 49}{space 3}0.001{col 57}{space 4}  1.53322{col 70}{space 3} 5.177982
{txt}{space 6}president {c |}{col 17}{res}{space 2}-6.424333{col 29}{space 2} 1.925945{col 40}{space 1}   -3.34{col 49}{space 3}0.003{col 57}{space 4}-10.40845{col 70}{space 3}-2.440213
{txt}{space 10}_cons {c |}{col 17}{res}{space 2} 21.10243{col 29}{space 2} 5.959045{col 40}{space 1}    3.54{col 49}{space 3}0.002{col 57}{space 4} 8.775203{col 70}{space 3} 33.42965
{txt}{hline 16}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{txt}
{com}. durbina2

{txt}Durbin's alternative test for autocorrelation
{hline 13}{c TT}{hline 61}
{col 5}lags({it:p}){col 14}{c |}{col 25}chi2{col 44}df{col 63}Prob > chi2
{hline 13}{c +}{hline 61}
{col 6}  1{col 14}{c |}{res}{col 20}     0.079{col 43}  1{col 63}  0.7786
{txt}{hline 13}{c BT}{hline 61}
{col 25}H0: no serial correlation

{com}. 
. regress pref_raw l.pref_raw   treal_APP_total gdp_trill president if domainid == 3 & year < 2020

{txt}      Source {c |}       SS           df       MS      Number of obs   ={res}        28
{txt}{hline 13}{c +}{hline 34}   F(4, 23)        = {res}    60.94
{txt}       Model {c |} {res} 1922.48334         4  480.620835   {txt}Prob > F        ={res}    0.0000
{txt}    Residual {c |} {res} 181.383592        23  7.88624314   {txt}R-squared       ={res}    0.9138
{txt}{hline 13}{c +}{hline 34}   Adj R-squared   ={res}    0.8988
{txt}       Total {c |} {res} 2103.86693        27  77.9209974   {txt}Root MSE        =   {res} 2.8082

{txt}{hline 16}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}       pref_raw{col 17}{c |} Coefficient{col 29}  Std. err.{col 41}      t{col 49}   P>|t|{col 57}     [95% con{col 70}f. interval]
{hline 16}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}pref_raw {c |}
{space 12}L1. {c |}{col 17}{res}{space 2} .5905527{col 29}{space 2}  .121237{col 40}{space 1}    4.87{col 49}{space 3}0.000{col 57}{space 4} .3397549{col 70}{space 3} .8413504
{txt}{space 15} {c |}
treal_APP_total {c |}{col 17}{res}{space 2}-26.40874{col 29}{space 2} 11.45632{col 40}{space 1}   -2.31{col 49}{space 3}0.031{col 57}{space 4}-50.10794{col 70}{space 3}-2.709533
{txt}{space 6}gdp_trill {c |}{col 17}{res}{space 2} 2.198765{col 29}{space 2} .8683458{col 40}{space 1}    2.53{col 49}{space 3}0.019{col 57}{space 4} .4024543{col 70}{space 3} 3.995075
{txt}{space 6}president {c |}{col 17}{res}{space 2} -1.06556{col 29}{space 2}  1.18168{col 40}{space 1}   -0.90{col 49}{space 3}0.377{col 57}{space 4}-3.510051{col 70}{space 3} 1.378931
{txt}{space 10}_cons {c |}{col 17}{res}{space 2} 14.25331{col 29}{space 2} 4.063394{col 40}{space 1}    3.51{col 49}{space 3}0.002{col 57}{space 4} 5.847538{col 70}{space 3} 22.65908
{txt}{hline 16}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{txt}
{com}. durbina2

{txt}Durbin's alternative test for autocorrelation
{hline 13}{c TT}{hline 61}
{col 5}lags({it:p}){col 14}{c |}{col 25}chi2{col 44}df{col 63}Prob > chi2
{hline 13}{c +}{hline 61}
{col 6}  1{col 14}{c |}{res}{col 20}     1.532{col 43}  1{col 63}  0.2158
{txt}{hline 13}{c BT}{hline 61}
{col 25}H0: no serial correlation

{com}. 
. regress pref_raw l.pref_raw   treal_APP_total gdp_trill president if domainid == 4 & year < 2020

{txt}      Source {c |}       SS           df       MS      Number of obs   ={res}        28
{txt}{hline 13}{c +}{hline 34}   F(4, 23)        = {res}    13.24
{txt}       Model {c |} {res} 1483.48551         4  370.871377   {txt}Prob > F        ={res}    0.0000
{txt}    Residual {c |} {res} 644.362028        23  28.0157403   {txt}R-squared       ={res}    0.6972
{txt}{hline 13}{c +}{hline 34}   Adj R-squared   ={res}    0.6445
{txt}       Total {c |} {res} 2127.84754        27   78.809168   {txt}Root MSE        =   {res}  5.293

{txt}{hline 16}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}       pref_raw{col 17}{c |} Coefficient{col 29}  Std. err.{col 41}      t{col 49}   P>|t|{col 57}     [95% con{col 70}f. interval]
{hline 16}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}pref_raw {c |}
{space 12}L1. {c |}{col 17}{res}{space 2} .4508015{col 29}{space 2} .1242407{col 40}{space 1}    3.63{col 49}{space 3}0.001{col 57}{space 4} .1937901{col 70}{space 3}  .707813
{txt}{space 15} {c |}
treal_APP_total {c |}{col 17}{res}{space 2}-52.01555{col 29}{space 2} 15.67371{col 40}{space 1}   -3.32{col 49}{space 3}0.003{col 57}{space 4}-84.43908{col 70}{space 3}-19.59202
{txt}{space 6}gdp_trill {c |}{col 17}{res}{space 2} 3.566898{col 29}{space 2} .9797249{col 40}{space 1}    3.64{col 49}{space 3}0.001{col 57}{space 4} 1.540182{col 70}{space 3} 5.593613
{txt}{space 6}president {c |}{col 17}{res}{space 2}-4.486354{col 29}{space 2} 2.290674{col 40}{space 1}   -1.96{col 49}{space 3}0.062{col 57}{space 4}-9.224975{col 70}{space 3} .2522663
{txt}{space 10}_cons {c |}{col 17}{res}{space 2} 20.34984{col 29}{space 2} 8.085925{col 40}{space 1}    2.52{col 49}{space 3}0.019{col 57}{space 4} 3.622827{col 70}{space 3} 37.07685
{txt}{hline 16}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{txt}
{com}. durbina2

{txt}Durbin's alternative test for autocorrelation
{hline 13}{c TT}{hline 61}
{col 5}lags({it:p}){col 14}{c |}{col 25}chi2{col 44}df{col 63}Prob > chi2
{hline 13}{c +}{hline 61}
{col 6}  1{col 14}{c |}{res}{col 20}     0.804{col 43}  1{col 63}  0.3699
{txt}{hline 13}{c BT}{hline 61}
{col 25}H0: no serial correlation

{com}. 
. regress pref_raw l.pref_raw treal_APP_total gdp_trill president if domainid == 5 & year < 2020

{txt}      Source {c |}       SS           df       MS      Number of obs   ={res}        28
{txt}{hline 13}{c +}{hline 34}   F(4, 23)        = {res}    14.98
{txt}       Model {c |} {res} 3202.87599         4  800.718998   {txt}Prob > F        ={res}    0.0000
{txt}    Residual {c |} {res} 1229.57997        23  53.4599985   {txt}R-squared       ={res}    0.7226
{txt}{hline 13}{c +}{hline 34}   Adj R-squared   ={res}    0.6744
{txt}       Total {c |} {res} 4432.45596        27  164.165035   {txt}Root MSE        =   {res} 7.3116

{txt}{hline 16}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}       pref_raw{col 17}{c |} Coefficient{col 29}  Std. err.{col 41}      t{col 49}   P>|t|{col 57}     [95% con{col 70}f. interval]
{hline 16}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}pref_raw {c |}
{space 12}L1. {c |}{col 17}{res}{space 2} .0785368{col 29}{space 2} .1579929{col 40}{space 1}    0.50{col 49}{space 3}0.624{col 57}{space 4}-.2482965{col 70}{space 3} .4053701
{txt}{space 15} {c |}
treal_APP_total {c |}{col 17}{res}{space 2}-46.50621{col 29}{space 2} 21.43512{col 40}{space 1}   -2.17{col 49}{space 3}0.041{col 57}{space 4}-90.84812{col 70}{space 3}-2.164289
{txt}{space 6}gdp_trill {c |}{col 17}{res}{space 2} 4.561488{col 29}{space 2} 1.354753{col 40}{space 1}    3.37{col 49}{space 3}0.003{col 57}{space 4} 1.758968{col 70}{space 3} 7.364009
{txt}{space 6}president {c |}{col 17}{res}{space 2}-13.72819{col 29}{space 2} 3.922373{col 40}{space 1}   -3.50{col 49}{space 3}0.002{col 57}{space 4}-21.84224{col 70}{space 3}-5.614146
{txt}{space 10}_cons {c |}{col 17}{res}{space 2}-46.23569{col 29}{space 2} 8.473953{col 40}{space 1}   -5.46{col 49}{space 3}0.000{col 57}{space 4} -63.7654{col 70}{space 3}-28.70598
{txt}{hline 16}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{txt}
{com}. durbina2

{txt}Durbin's alternative test for autocorrelation
{hline 13}{c TT}{hline 61}
{col 5}lags({it:p}){col 14}{c |}{col 25}chi2{col 44}df{col 63}Prob > chi2
{hline 13}{c +}{hline 61}
{col 6}  1{col 14}{c |}{res}{col 20}     0.023{col 43}  1{col 63}  0.8801
{txt}{hline 13}{c BT}{hline 61}
{col 25}H0: no serial correlation

{com}. 
. // TABLE B.3
. 
. xtreg pref_raw l.pref_raw treal_APP_total gdp_trill president if year < 2020, fe
{res}
{txt}Fixed-effects (within) regression{col 49}Number of obs{col 67}={col 69}{res}       112
{txt}Group variable: {res}domainid{txt}{col 49}Number of groups{col 67}={col 69}{res}         4

{txt}R-squared:{col 49}Obs per group:
     Within  = {res}0.7052{col 63}{txt}min{col 67}={col 69}{res}        28
{txt}     Between = {res}0.9999{col 63}{txt}avg{col 67}={col 69}{res}      28.0
{txt}     Overall = {res}0.9012{col 63}{txt}max{col 67}={col 69}{res}        28

{txt}{col 49}F({res}4{txt}, {res}104{txt}){col 67}={col 70}{res}    62.19
{txt}corr(u_i, Xb) = {res}0.8728{txt}{col 49}Prob > F{col 67}={col 73}{res}0.0000

{txt}{hline 16}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}       pref_raw{col 17}{c |} Coefficient{col 29}  Std. err.{col 41}      t{col 49}   P>|t|{col 57}     [95% con{col 70}f. interval]
{hline 16}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 7}pref_raw {c |}
{space 12}L1. {c |}{col 17}{res}{space 2} .4055802{col 29}{space 2} .0636144{col 40}{space 1}    6.38{col 49}{space 3}0.000{col 57}{space 4} .2794304{col 70}{space 3}   .53173
{txt}{space 15} {c |}
treal_APP_total {c |}{col 17}{res}{space 2}-46.16739{col 29}{space 2} 8.356098{col 40}{space 1}   -5.52{col 49}{space 3}0.000{col 57}{space 4}-62.73784{col 70}{space 3}-29.59693
{txt}{space 6}gdp_trill {c |}{col 17}{res}{space 2} 3.561788{col 29}{space 2} .5376102{col 40}{space 1}    6.63{col 49}{space 3}0.000{col 57}{space 4} 2.495687{col 70}{space 3} 4.627889
{txt}{space 6}president {c |}{col 17}{res}{space 2}-5.227615{col 29}{space 2} 1.224237{col 40}{space 1}   -4.27{col 49}{space 3}0.000{col 57}{space 4}-7.655322{col 70}{space 3}-2.799907
{txt}{space 10}_cons {c |}{col 17}{res}{space 2} 7.114922{col 29}{space 2} 2.704206{col 40}{space 1}    2.63{col 49}{space 3}0.010{col 57}{space 4}  1.75238{col 70}{space 3} 12.47746
{txt}{hline 16}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
        sigma_u {c |} {res} 25.156973
        {txt}sigma_e {c |} {res}  5.531176
            {txt}rho {c |} {res} .95388784{txt}   (fraction of variance due to u_i)
{hline 16}{c BT}{hline 64}
F test that all u_i=0: F({res}3{txt}, {res}104{txt}) = {res}28.23{col 62}{txt}Prob > F = {res}0.0000
{txt}
{com}. 
. xtreg pref_raw treal_APP_total gdp_trill president if year < 2020, fe
{res}
{txt}Fixed-effects (within) regression{col 49}Number of obs{col 67}={col 69}{res}       112
{txt}Group variable: {res}domainid{txt}{col 49}Number of groups{col 67}={col 69}{res}         4

{txt}R-squared:{col 49}Obs per group:
     Within  = {res}0.5900{col 63}{txt}min{col 67}={col 69}{res}        28
{col 63}{txt}avg{col 67}={col 69}{res}      28.0
{txt}     Overall = {res}0.0397{col 63}{txt}max{col 67}={col 69}{res}        28

{txt}{col 49}F({res}3{txt}, {res}105{txt}){col 67}={col 70}{res}    50.36
{txt}corr(u_i, Xb) = {res}0.0000{txt}{col 49}Prob > F{col 67}={col 73}{res}0.0000

{txt}{hline 16}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}       pref_raw{col 17}{c |} Coefficient{col 29}  Std. err.{col 41}      t{col 49}   P>|t|{col 57}     [95% con{col 70}f. interval]
{hline 16}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
treal_APP_total {c |}{col 17}{res}{space 2}-59.06841{col 29}{space 2} 9.515754{col 40}{space 1}   -6.21{col 49}{space 3}0.000{col 57}{space 4}-77.93639{col 70}{space 3}-40.20043
{txt}{space 6}gdp_trill {c |}{col 17}{res}{space 2}  4.77051{col 29}{space 2} .5904629{col 40}{space 1}    8.08{col 49}{space 3}0.000{col 57}{space 4} 3.599731{col 70}{space 3} 5.941289
{txt}{space 6}president {c |}{col 17}{res}{space 2}-7.689413{col 29}{space 2}  1.36356{col 40}{space 1}   -5.64{col 49}{space 3}0.000{col 57}{space 4} -10.3931{col 70}{space 3}-4.985725
{txt}{space 10}_cons {c |}{col 17}{res}{space 2}   15.846{col 29}{space 2} 2.736874{col 40}{space 1}    5.79{col 49}{space 3}0.000{col 57}{space 4} 10.41929{col 70}{space 3} 21.27272
{txt}{hline 16}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
        sigma_u {c |} {res} 42.186526
        {txt}sigma_e {c |} {res} 6.4920142
            {txt}rho {c |} {res} .97686623{txt}   (fraction of variance due to u_i)
{hline 16}{c BT}{hline 64}
F test that all u_i=0: F({res}3{txt}, {res}105{txt}) = {res}1182.35{col 62}{txt}Prob > F = {res}0.0000
{txt}
{com}. 
{txt}end of do-file

{com}. log close
      {txt}name:  {res}<unnamed>
       {txt}log:  {res}/Users/steven.vanhauwaert/Downloads/log2.smcl
  {txt}log type:  {res}smcl
 {txt}closed on:  {res}13 May 2025, 10:53:50
{txt}{.-}
{smcl}
{txt}{sf}{ul off}